import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class HLine extends StatelessWidget {
  const HLine({this.height = 0.5, this.color, this.padding});
  final double height;
  final Color color;
  final EdgeInsets padding;
  @override
  Widget build(BuildContext context) {
    Widget child =Container(height: height,color: color,);
    if(padding!=null){
      child=Padding(child: child,padding: padding);
    }
    return child;
  }
}

class VLine extends StatelessWidget {
  const VLine({this.width = 0.5, this.color, this.padding});
  final double width;
  final Color color;
  final EdgeInsets padding;
  @override
  Widget build(BuildContext context) {
    Widget child =Container(width: width,color: color,);
    if(padding!=null){
      child=Padding(child: child,padding: padding,);
    }
    return child;
  }
}
